package com.atguigu.gulimall.ware.feign;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.ware.feign.fallback.MemberFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description
 * @Author lhj
 * @Date 2024/5/3 15:19
 */
@FeignClient(name = "gulimall-member", contextId = "MemberFeignService", fallback = MemberFeignFallback.class)
public interface MemberFeignService {

    /**
     * 信息
     * member/memberreceiveaddress
     */
    @RequestMapping("/member/memberreceiveaddress/info/{id}")
    //@RequiresPermissions("member:memberreceiveaddress:info")
    R info(@PathVariable("id") Long id);
    
    
}
